package com.jihox.abookpro.domain;

import java.io.Serializable;

public class BookProduct implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public static final float  	FLOAT_VALUE_NOT_SET 	= -1.0f;
	public static final int 	 	INT_VALUE_NOT_SET 	= -1;
	public static final int BOOK_OUTPUT_TYPE_PDF 		= 1;
	public static final int BOOK_OUTPUT_TYPE_JPEG		= 2;
	public static final int BOOK_START_RIGHT 			= 0;
	public static final int BOOK_START_LEFT 			= 1;
	
	private String pid;
	private String pname;
	private int bookStart 								= BOOK_START_RIGHT;
	private int bookOutputType							= BOOK_OUTPUT_TYPE_PDF;
	private float height								= FLOAT_VALUE_NOT_SET;
	private float width									= FLOAT_VALUE_NOT_SET;
	private int numOfPages 								= INT_VALUE_NOT_SET;
	private int numOfPictures							= INT_VALUE_NOT_SET;
	private int maxPictures								= INT_VALUE_NOT_SET;
	private String pdescription							= "";
	private String version							    = "";
	private String thumbnail							= "";
	private float price								    = FLOAT_VALUE_NOT_SET;
	private String imageFile							= "";
	private boolean includeCoverWithBlock = false;
	private int bleed									= INT_VALUE_NOT_SET;
	private int dpiOfPicture =INT_VALUE_NOT_SET;
	private int numOfComponents = 0;
	private int maxPages =0;
	private String bindType ="1";
	private float weight =0;
	private float pagePrice =0;
	private int category = 1;
	private String content;
	
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getCategory() {
		return category;
	}
	public void setCategory(int category) {
		this.category = category;
	}
	public String getBindType() {
		return bindType;
	}
	public void setBindType(String bindType) {
		this.bindType = bindType;
	}
	public float getWeight() {
		return weight;
	}
	public void setWeight(float weight) {
		this.weight = weight;
	}
	public float getPagePrice() {
		return pagePrice;
	}
	public void setPagePrice(float pagePrice) {
		this.pagePrice = pagePrice;
	}
	
	public int getMaxPages() {
		return maxPages;
	}
	public void setMaxPages(int maxPages) {
		this.maxPages = maxPages;
	}
	public int getNumOfComponents() {
		return numOfComponents;
	}
	public void setNumOfComponents(int numOfComponents) {
		this.numOfComponents = numOfComponents;
	}
	public int getDpiOfPicture() {
		return dpiOfPicture;
	}
	public void setDpiOfPicture(int dpiOfPicture) {
		this.dpiOfPicture = dpiOfPicture;
	}
	public int getBleed() {
		return bleed;
	}
	public void setBleed(int bleed) {
		this.bleed = bleed;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getName() {
		return pname;
	}
	public void setName(String name) {
		this.pname = name;
	}
	public int getBookStart() {
		return bookStart;
	}
	public void setBookStart(int bookStart) {
		this.bookStart = bookStart;
	}
	public int getBookOutputType() {
		return bookOutputType;
	}
	public void setBookOutputType(int bookOutputType) {
		this.bookOutputType = bookOutputType;
	}
	
	public float getHeight() {
		return height;
	}
	public void setHeight(float height) {
		this.height = height;
	}
	public float getWidth() {
		return width;
	}
	public void setWidth(float width) {
		this.width = width;
	}
	public int getNumOfPages() {
		return numOfPages;
	}
	public void setNumOfPages(int numOfPages) {
		this.numOfPages = numOfPages;
	}
	public int getNumOfPictures() {
		return numOfPictures;
	}
	public void setNumOfPictures(int numOfPictures) {
		this.numOfPictures = numOfPictures;
	}
	public int getMaxPictures() {
		return maxPictures;
	}
	public void setMaxPictures(int maxPictures) {
		this.maxPictures = maxPictures;
	}
	public String getDescription() {
		return pdescription;
	}
	public void setDescription(String description) {
		this.pdescription = description;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getThumbnail() {
		return thumbnail;
	}
	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public String getImageFile() {
		return imageFile;
	}
	public void setImageFile(String imageFile) {
		this.imageFile = imageFile;
	}
	public boolean isIncludeCoverWithBlock() {
		return includeCoverWithBlock;
	}
	public void setIncludeCoverWithBlock(boolean includeCoverWithBookBlock) {
		this.includeCoverWithBlock = includeCoverWithBookBlock;
	}
	
}
